const { web } = require('webpack')
const webpack = require('webpack')
const config = require('../webpack.config')

const compiler = webpack(config)
debugger
compiler.run((err,stats)=>{
  console.log(stats.toJson({
    entries: true,
    modules: true,
    chunks: true,
    assets: true,
    files: true
  }));
})